<template>
  <div>
    <h1>我是一级分类页</h1>
    <h1>当前ID: {{$route.params.id}}</h1>
    <!-- <div class="test"></div> -->
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.test {
  width: 200px;
  height: 200px;
  transform: translateY(-100px);
  transition: all .3s linear;
  background-color: red;
  opacity: 0.1;
  &:hover {
    transform: translateY(0);
    opacity: 1;
  }
}
</style>
